package cn.virens.cmpt.server.listener;

import java.nio.ByteBuffer;

import cn.virens.cmpt.server.Packet;
import cn.virens.cmpt.server.channel.Channel;

public interface DataEncoder {

	ByteBuffer encode(Channel channel, Packet packet) throws Exception;

}
